-- GENERATED SPELL FOR [Chillwind Lieutenant] --


function spell0_26204(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(23115,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26204', 8253, 1)
end

function spell1_26204(pUnit, Event) --@Gust of Wind,Self--
pUnit:FullCastSpellOnTarget(6982,pUnit)
pUnit:RegisterEvent('Sorts_26204', 6000, 1)
end

function Sorts_26204(pUnit, Event)
local choix_sorts_26204 = math.random(0, 1)
if choix_sorts_26204 == 0 then
pUnit:RegisterEvent('spell0_26204', 1, 1)
end
if choix_sorts_26204 == 1 then
pUnit:RegisterEvent('spell1_26204', 1, 1)
end
end

function mob26204_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26204', math.random(1500, 3000), 1)
end

function mob26204_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26204_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26204_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26204, 1, 'mob26204_Action')
RegisterUnitEvent(26204, 2, 'mob26204_Leave')
RegisterUnitEvent(26204, 3, 'mob26204_Kill')
RegisterUnitEvent(26204, 4, 'mob26204_Die')
